package patterndesign.abstractfactory;

/**
 * 产品等级二的实现类
 */
public class Creator2 extends AbstractCreator {
    @Override
    public AbstractProductA createProductA() {
        return new ProduceA2();
    }

    @Override
    public AbstractProductB createProductB() {
        return new ProduceB2();
    }
}
